import Vue from 'vue'
import App from './App'

import uView from 'uview-ui';
Vue.use(uView);

import navbar from 'components/navbar.vue'
Vue.component("navbar",navbar)

//引入vuex
import store from './store'
//把vuex定义成全局组件
Vue.prototype.$store = store
Vue.config.productionTip = false

import common from 'js/common.js'
Vue.prototype.common = common

App.mpType = 'app'

const app = new Vue({
    ...App,
	//挂载
	store
})
app.$mount()
